package com.zpark.merchant.app.feign.impl;

import com.zpark.jushanpay.common.domain.BusinessException;
import com.zpark.jushanpay.common.domain.CommonErrorCode;
import com.zpark.jushanpay.common.domain.RestResponse;
import com.zpark.merchant.app.feign.ITransactionPayChannelFeign;
import com.zpark.transaction.api.dto.PayChannelDTO;
import com.zpark.transaction.api.dto.PayChannelParamDTO;
import com.zpark.transaction.api.dto.PlatformChannelDTO;
import com.zpark.transaction.api.dto.QRCodeDTO;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @PackageName: com.zpark.merchant.app.feign.impl
 * @ClassName: TransactionPayChannelImpl
 * @Description:
 * @author: RZS
 * @date: 2024/5/21  11:42
 */
public class TransactionPayChannelFeignImpl implements ITransactionPayChannelFeign {
    @Override
    public RestResponse<List<PlatformChannelDTO>> findPlatformChannelAll() {
        throw new BusinessException(CommonErrorCode.E_150001);
    }

    @Override
    public RestResponse<Void> bindPlatformChannelForApp(String appId, String platformChannelCode) {
        throw new BusinessException(CommonErrorCode.E_150001);
    }

    @Override
    public RestResponse<Integer> findAppPlatformChannelByAppIdChannelCode(String appId, String platformChannelCode) {
        throw new BusinessException(CommonErrorCode.E_150001);
    }

    @Override
    public RestResponse<List<PayChannelDTO>> findPayChannelByPlatformChannel(String platformChannelCode) {
        throw new BusinessException(CommonErrorCode.E_150001);
    }

    @Override
    public RestResponse<Void> addPayChannelParam(PayChannelParamDTO dto) {
        throw new BusinessException(CommonErrorCode.E_150001);
    }

    @Override
    public RestResponse<List<PayChannelParamDTO>> findPayChannelParamByAppAndPlatform(String appId, String platformChannelCode) {
        throw new BusinessException(CommonErrorCode.E_150001);
    }

    @Override
    public RestResponse<PayChannelParamDTO> findPayChannelParamByAppAndPlatform(String appId, String platformChannelCode, String payChannel) {
        throw new BusinessException(CommonErrorCode.E_150001);
    }

    @Override
    public RestResponse<String> createStoreQRCode(QRCodeDTO dto) {
        throw new BusinessException(CommonErrorCode.E_150001);
    }
}
